import { createApp } from "vue";
//引入vue-router
import router from "./router";
//引入pinia
import {setupStore} from "./store";
import "./style/font.scss";
import "./style/tailwind.css";
import "./style/index.scss";
import "swiper/css";
import "element-plus/theme-chalk/dark/css-vars.css";
//引入element-plusd的样式
import "element-plus/theme-chalk/index.css";
// import "element-plus/theme-chalk/src/common/var.scss";
import App from "./App.vue";
import { setupElIcon } from "@/utils/icon-helper";
const app = createApp(App);
// for (const i in Icons) {
//   app.component(i, Icons[i]);
// }
app.use(router);
setupStore(app);
setupElIcon(app);
app.mount("#app");

// createApp(App).use(router).use(store).mount("#app");
